﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ViewAllTechnical.aspx.cs"
    Inherits="CTEA_INDIA.ViewAllTechnical" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="~/MenuList.ascx" TagName="Menu" TagPrefix="m1" %>
<%@ Register Src="~/Header.ascx" TagName="header" TagPrefix="uc" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="CSS/Stylsheet.css" rel="stylesheet" type="text/css" />
    <link href="CSS/MyStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <div>
        <uc:header runat="server" ID="aa" />
    </div>
    <div class="toporagne">
        <%--<img src="Images/top_orange-strip.jpg" />--%>
          <hr  size="10" color="#091247" width="900px" />
    </div>
    <div >
        <center>
            
                <table width="900px">
                    <tr>
                        <td valign="top" align="center">
                            <table class="MainDiv">
                                <tr>
                                    <td valign="top">
                                        <m1:Menu runat="server" ID="menu" />
                                    </td>
                                    <td valign="top">
                                        <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="upPnlTechnical">
                                            <ProgressTemplate>
                                                <center>
                                                    <div id="pageLoading">
                                                        <center>
                                                            <img src="Images/loading123.gif" style="z-index: 5000; top: 50%; left: 50%; position: absolute;"
                                                                alt="loading" />
                                                            <div style="color: White; font-size: 18px; top: 50%; left: 50%;">
                                                                Loading...
                                                            </div>
                                                        </center>
                                                        <div id="transparentBg" class="transparentBg">
                                                        </div>
                                                    </div>
                                                </center>
                                            </ProgressTemplate>
                                        </asp:UpdateProgress>
                                        <asp:UpdatePanel ID="upPnlTechnical" runat="server">
                                            <ContentTemplate>
                                                <table>
                                                    <tr>
                                                        <td>
                                                            <span id="spanerrormsg" runat="server" class="spanErrorMsgs" style="display: none"></span>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="myaccount">
                                                            <asp:Label ID="Label1" runat="server" Text="All Technical" CssClass="headingpage"></asp:Label><br />
                                                            <div class="imgstrip">
                                                            </div>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td valign="top">
                                                            <asp:GridView ID="gdTechnicalProfile" Width="650px" runat="server" BackColor="White"
                                                                BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" CellPadding="4" ForeColor="Black"
                                                                GridLines="Vertical" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="UserId"
                                                                OnRowDataBound="gdTechnicalProfile_RowDataBound" 
                                                                EmptyDataText="No data fonnd" 
                                                                onpageindexchanging="gdTechnicalProfile_PageIndexChanging">
                                                                <AlternatingRowStyle BackColor="White" />
                                                                <Columns>
                                                                    <asp:BoundField HeaderText="Name" DataField="Name" />
                                                                    <asp:BoundField HeaderText="EmailId" DataField="EmailId" />
                                                                    <asp:BoundField HeaderText="Location" DataField="Location" />
                                                                    <asp:BoundField HeaderText="Technical Type" DataField="TechType" />
                                                                    <asp:TemplateField>
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="lnkView" runat="server" Text="View" ForeColor="#0066FF"></asp:LinkButton>
                                                                            <asp:ModalPopupExtender ID="lnkView_ModalPopupExtender" runat="server" TargetControlID="lnkView"
                                                                                CancelControlID="cancelBtnView" PopupControlID="pnlLnkView" BackgroundCssClass="modalBackground">
                                                                            </asp:ModalPopupExtender>
                                                                            <asp:Panel ID="pnlLnkView" runat="server">
                                                                                <table width="600px" class="ModalPopup">
                                                                                    <tr>
                                                                                        <td colspan="4">
                                                                                            <div style="float: right">
                                                                                                <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnView" /></div>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td colspan="4" class="gdheading">
                                                                                            Technical Person's Detail
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td colspan="4">
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td class="tdheader">
                                                                                            Name:
                                                                                        </td>
                                                                                        <td>
                                                                                            <%#Eval("Name")%>
                                                                                        </td>
                                                                                        <td class="tdheader">
                                                                                            Address:
                                                                                        </td>
                                                                                        <td>
                                                                                            <%#Eval("Address")%>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td class="tdheader">
                                                                                            Mobile No.:
                                                                                        </td>
                                                                                        <td>
                                                                                            <%#Eval("MobileNo")%>
                                                                                        </td>
                                                                                        <td class="tdheader">
                                                                                           Age:
                                                                                        </td>
                                                                                        <td>
                                                                                            <%#Eval("Age")%>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td class="tdheader">
                                                                                            EmailId:
                                                                                        </td>
                                                                                        <td>
                                                                                            <%#Eval("EmailId")%>
                                                                                        </td>
                                                                                        <td class="tdheader">
                                                                                            Location:
                                                                                        </td>
                                                                                        <td>
                                                                                            <%#Eval("Location")%>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td class="tdheader">
                                                                                            Technical Type:
                                                                                        </td>
                                                                                        <td>
                                                                                            <%#Eval("TechType")%>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </asp:Panel>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField>
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="lnkEdit" runat="server" Text="Edit" OnClick="lnkEdit_Click" ForeColor="#0066FF"></asp:LinkButton>
                                                                            <asp:LinkButton ID="lnkHidden" runat="server" ForeColor="#0066FF"></asp:LinkButton>
                                                                            <asp:ModalPopupExtender ID="lnkEdit_ModalPopupExtender" runat="server" TargetControlID="lnkHidden"
                                                                                CancelControlID="cancelBtnEdit" PopupControlID="pnlLnkEdit" BackgroundCssClass="modalBackground">
                                                                            </asp:ModalPopupExtender>
                                                                            <asp:Panel ID="pnlLnkEdit" runat="server">
                                                                                <table width="600px" class="ModalPopup">
                                                                                    <tr>
                                                                                        <td colspan="4">
                                                                                            <div style="float: right">
                                                                                                <img src="Images/newsletter_close.PNG" alt="close" runat="server" id="cancelBtnEdit" /></div>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td colspan="4" class="gdheading">
                                                                                            Update Technical Person's Detail
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td colspan="4">
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td class="tdheader">
                                                                                            Name:
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                                                                                        </td>
                                                                                        <td class="tdheader">
                                                                                            Address:
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:TextBox ID="txtAdd" runat="server" TextMode="MultiLine" Rows="3" Columns="20"></asp:TextBox>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td class="tdheader">
                                                                                            Mobile No.:
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:TextBox ID="txtMob" MaxLength="10" runat="server"></asp:TextBox>
                                                                                        </td>
                                                                                        <td class="tdheader">
                                                                                            Date Of Birth:
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:TextBox ID="txtDob" runat="server"></asp:TextBox>
                                                                                            <asp:CalendarExtender ID="CEDate" runat="server" TargetControlID="txtDob" DefaultView="Years">
                                                                                            </asp:CalendarExtender>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td class="tdheader">
                                                                                            EmailId:
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:TextBox ID="txtEmail" runat="server" Enabled="false"></asp:TextBox>
                                                                                        </td>
                                                                                        <td class="tdheader">
                                                                                            Location:
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:TextBox ID="txtLocation" runat="server"></asp:TextBox>
                                                                                        </td>
                                                                                    </tr>
                                                                                    <%--<tr>
                                                                                        <td class="tdheader">
                                                                                            Technical Type:
                                                                                        </td>
                                                                                        <td>
                                                                                            <asp:TextBox ID="txtTechType" runat="server"></asp:TextBox>
                                                                                        </td>
                                                                                    </tr>--%>
                                                                                    <tr>
                                                                                        <td colspan="4">
                                                                                        </td>
                                                                                    </tr>
                                                                                    <tr>
                                                                                        <td colspan="4" align="center">
                                                                                            <asp:Button ID="btnUpdate" runat="server" CssClass="btnsubmit" OnClick="btnUpdate_Click" Text="Update"
                                                                                                Height="26px" />
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </asp:Panel>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField>
                                                                        <ItemTemplate>
                                                                            <asp:LinkButton ID="lnkDelete" runat="server" OnClick="lnkDelete_Click" Text="Delete"
                                                                                ForeColor="#0066FF"></asp:LinkButton>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <EmptyDataRowStyle Font-Bold="True" CssClass="errorSpan" Font-Size="15pt" ForeColor="#FF5050" />
                                                                <FooterStyle BackColor="#CCCC99" />
                                                                <HeaderStyle BackColor="#843808" Font-Bold="True" ForeColor="white" />
                                                                <PagerStyle ForeColor="#CCCCCC" HorizontalAlign="right" BackColor="#843808" />
                                                                <SelectedRowStyle BackColor="#000099" ForeColor="White" Font-Bold="True" />
                                                                <AlternatingRowStyle BackColor="#E2E082" />
                                                            </asp:GridView>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
           
        </center>
    </div>
    <div>
    </div>
    <div>
    </div>
    </form>
</body>
</html>
